[PRISM2] Added view does not appear on screen
Posted
by Jeaffrey Gilbert
on Stack Overflow
See other posts from Stack Overflow
or by Jeaffrey Gilbert
Published on 2010-05-31T08:32:35Z
Indexed on
2010/06/01
5:43 UTC
Read the original article
Hit count: 252
Why my "mainRegion.Activate(view);" doesn't display the view on screen?
It only works if I remove the default view that registered (RegisterViewWithRegion) in ModuleInit.cs though I don't put .Activate() after I added a View. But a problem occurs if I move to other module, and get back to module which default view has been removed, I get blank page.
Any clues? Thank you. *) I prefer not to remove default view, but only with Activate(view) can show the View I want as explained in my reference.
reference: http://msdn.microsoft.com/en-us/library/dd458899.aspx
© Stack Overflow or respective owner